# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy
import enum

ItemType =enum.Enum('ItemType',('DOUB_BOOK','JIAY_USER','JIAY_USER_LIST_ITEM','PY89IP'))

#父类
class AbsItem(scrapy.Item):
    itemName = scrapy.Field()#模块名称 对应表
    pass

class Proxy89ipBean(AbsItem):
    proxy89ipList = scrapy.Field()
    pass

class Proxy89ipItem(AbsItem):
    ip_addr = scrapy.Field()
    port = scrapy.Field()
    ip_port = scrapy.Field()
    pass

class DoubanbookItem(AbsItem):
    # define the fields for your item here like:
    # name = scrapy.Field()
    title = scrapy.Field()  # 存放书籍标题的字段
    rate = scrapy.Field()  # 存放书籍评分的字段
    pass

class JiayuanUserInfo(AbsItem):
    uid = scrapy.Field()
    realUid = scrapy.Field()#爬虫 个人详情页的uid
    nickName = scrapy.Field()
    tel_check = scrapy.Field()#是否手机认证
    start_check = scrapy.Field()#星级会员
    charm = scrapy.Field()#魅力值
    sex = scrapy.Field()
    menberType = scrapy.Field()
    marriage = scrapy.Field()
    height = scrapy.Field()
    education = scrapy.Field()
    workLocation = scrapy.Field()
    carType = scrapy.Field()#是否购车
    weight = scrapy.Field()
    constellation = scrapy.Field()#星座
    nation = scrapy.Field()#民族
    yearbirth = scrapy.Field()#属相
    bloodType = scrapy.Field()#血型
    age = scrapy.Field()
    shortnote = scrapy.Field()
    image = scrapy.Field()
    images = scrapy.Field()#  以#号分割多个路径
    age_marriage_from = scrapy.Field()# 年龄#是否结婚#来自哪里
    pass